package cn.jbt.common;

import jakarta.validation.constraints.NotEmpty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class UsernameAndPassword {

    @NotEmpty(message = "登录账号不能为空")
    private String username;

    @NotEmpty(message = "登录密码不能为空")
    private String password;
}
